﻿@model List<IntroToMVCAugust19.Models.Plane>
@{
    ViewBag.Title = "Tarmac";
}

<h2>Tarmac</h2>
<table>
    <tr>
        <th>Engine</th>
        <th>Doors</th>
        <th>Wheels</th>
        <th>Flying?</th>
    </tr>
    @foreach (var plane in Model)
    {
        <tr>
            <td>@plane.Engine</td>
            <td>@plane.Doors</td>
            <td>@plane.Wheels</td>
            <td>@plane.Fly()</td>
        </tr>
    }
</table>